from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import CourseViewSet, CourseReminderViewSet, SemesterViewSet

router = DefaultRouter()
router.register('courses', CourseViewSet, basename='course')
router.register('reminders', CourseReminderViewSet, basename='reminder')
router.register('semesters', SemesterViewSet, basename='semester')

urlpatterns = [
    path('', include(router.urls)),
]
